/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package domain;

/**
 *
 * @author admin
 */
public class RegistrationError extends Error{
    private boolean dbError = false;
    private boolean unameExists = false;    
    /**
     * @return the dbError
     */
    public boolean isDbError() {
        return dbError;
    }

    /**
     * @param dbError the dbError to set
     */
    public void setDbError(boolean dbError) {
        this.dbError = dbError;
    }

    /**
     * @return the unameExists
     */
    public boolean isUnameExists() {
        return unameExists;
    }

    /**
     * @param unameExists the unameExists to set
     */
    public void setUnameExists(boolean unameExists) {
        this.unameExists = unameExists;
    }
    
}
